Skip to content

Implement offsetParent/Top/Left/Width/Height. - #6784

Merged
bors-servo merged 2 commits into
servo:masterfrom
glennw:offset-ext
Aug 4, 2015
Merged

bors-servo merged 2 commits into
servo:masterfrom
glennw:offset-ext

Conversation

@glennw

@glennw glennw commented Jul 27, 2015

Copy link
Copy Markdown
Member

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 27, 2015
@hoppipolla-critic-bot

Copy link
Copy Markdown

Critic review: https://critic.hoppipolla.co.uk/r/5668

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@glennw

glennw commented Jul 27, 2015

Copy link
Copy Markdown
Member Author

This PR fixes a large number of layout issues in the enyojs sampler. But I'm not sure if the implementation could be made a lot simpler, it feels a bit complicated. Comments?

r? @jdm for script bits and @pcwalton for the layout bits?

Comment thread components/layout/layout_task.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably going to get unwieldy over time. Perhaps we should factor this out into a struct now?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jdm opened #6787 - perhaps we can do this as a follow up?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, in fact, prime E-easy material :)

@glennw

glennw commented Jul 27, 2015

Copy link
Copy Markdown
Member Author

Ref #6643

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #6771) made this pull request unmergeable. Please resolve the merge conflicts.

@jdm jdm added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 27, 2015
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Jul 27, 2015
@metajack metajack added the S-needs-rebase There are merge conflict errors. label Jul 29, 2015
@glennw
glennw force-pushed the offset-ext branch 2 times, most recently from 2b3582f to b91c0a0 Compare July 30, 2015 03:23
@glennw

glennw commented Jul 30, 2015

Copy link
Copy Markdown
Member Author

@pcwalton Addressed those comments and rebased.

@metajack metajack removed the S-needs-rebase There are merge conflict errors. label Jul 30, 2015
@pcwalton

Copy link
Copy Markdown
Contributor

@bors-servo: r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit b91c0a0 has been approved by pcwalton

@jdm jdm added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 30, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit b91c0a0 with merge f6cdf7b...

bors-servo pushed a commit that referenced this pull request Jul 30, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac3

@metajack metajack added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jul 30, 2015
@metajack

Copy link
Copy Markdown
Collaborator
/css21_dev/html4/first-letter-dynamic-003a.htm
----------------------------------------------
FAIL [Parent]
/css21_dev/html4/first-letter-dynamic-003b.htm
----------------------------------------------
FAIL [Parent]
/css21_dev/html4/run-in-basic-017.htm
-------------------------------------
FAIL [Parent]
/css21_dev/html4/run-in-relpos-between-003.htm
----------------------------------------------
CRASH expected FAIL [Parent]

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #6893) made this pull request unmergeable. Please resolve the merge conflicts.

@pcwalton

pcwalton commented Aug 3, 2015

Copy link
Copy Markdown
Contributor

@bors-servo: r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit ade6765 has been approved by pcwalton

@jdm jdm added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Aug 3, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit ade6765 with merge 230a8a4...

bors-servo pushed a commit that referenced this pull request Aug 3, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac1

@glennw

glennw commented Aug 3, 2015

Copy link
Copy Markdown
Member Author

@bors-servo retry

@jdm

jdm commented Aug 3, 2015

Copy link
Copy Markdown
Member

@jdm jdm added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Aug 3, 2015
@glennw

glennw commented Aug 3, 2015

Copy link
Copy Markdown
Member Author

@jdm Yep, I just managed to repro it locally, so will look into it.

@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Aug 3, 2015
@glennw

glennw commented Aug 3, 2015

Copy link
Copy Markdown
Member Author

@jdm Ah, I actually misread that build log - there was a subtest in input-type-button that was previously failing, and this PR fixes that subtest. I have updated the last commit to remove that test failure from the WPT metadata.

@jdm

jdm commented Aug 3, 2015

Copy link
Copy Markdown
Member

That ini file can be removed now, if it contains no other failures.

The three tests that are marked as failures are because they use offsetWidth as a dummy to force a layout flush. Now that these exist, they expose an unrelated bug with reflow.
@glennw

glennw commented Aug 3, 2015

Copy link
Copy Markdown
Member Author

Updated to remove that ini file.

@glennw

glennw commented Aug 3, 2015

Copy link
Copy Markdown
Member Author

@bors-servo r=pcwalton

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 39972a1 has been approved by pcwalton

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 39972a1 with merge d66c59a...

bors-servo pushed a commit that referenced this pull request Aug 4, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux1, linux2, linux3, mac1, mac2, mac3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants