Skip to content

Implement HTMLTableRowElement insertCell and deleteCell - #7977

Merged
bors-servo merged 1 commit into
servo:masterfrom
frewsxcv:htmltablerowelement-insertcell-deletecell
Oct 17, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
frewsxcv:htmltablerowelement-insertcell-deletecell

Conversation

@frewsxcv

Copy link
Copy Markdown
Contributor

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 12, 2015
Comment thread components/script/dom/utils.rs Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

So I'm not a huge fan with how these generic functions turned out. If anyone has any suggestions to clean these up, let me know

@Ms2ger

Ms2ger commented Oct 12, 2015

Copy link
Copy Markdown
Contributor

Do file a spec issue on the hole.

@frewsxcv

Copy link
Copy Markdown
Contributor Author

Spec issue filed: whatwg/html#248

@jdm

jdm commented Oct 13, 2015

Copy link
Copy Markdown
Member

@eefriedman I've noticed you've been doing drive-by reviews in a bunch of PRs recently (thanks!). Would you be interested in doing a complete review of these changes in Reviewable?

@eefriedman

Copy link
Copy Markdown
Contributor

Review status: 0 of 9 files reviewed at latest revision, 4 unresolved discussions, all commit checks successful.


tests/wpt/web-platform-tests/html/semantics/tabular-data/the-tr-element/deleteCell.html, line 52 [r1] (raw file):
This doesn't match the style of the rest of the test


Comments from the review on Reviewable.io

@eefriedman

Copy link
Copy Markdown
Contributor

Reviewed 9 of 9 files at r1.
Review status: all files reviewed at latest revision, 4 unresolved discussions, all commit checks successful.


Comments from the review on Reviewable.io

@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 Oct 13, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

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

@highfive highfive added S-needs-rebase There are merge conflict errors. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Oct 14, 2015
@frewsxcv

Copy link
Copy Markdown
Contributor Author

components/script/dom/utils.rs, line 34 [r1] (raw file):
Maybe, but this avoids an unnecessary allocation if it returns early


Comments from the review on Reviewable.io

@frewsxcv

Copy link
Copy Markdown
Contributor Author

@frewsxcv
frewsxcv force-pushed the htmltablerowelement-insertcell-deletecell branch from abbb54e to c3d8fdc Compare October 15, 2015 03:23
@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 Oct 15, 2015
@frewsxcv
frewsxcv force-pushed the htmltablerowelement-insertcell-deletecell branch from c3d8fdc to 9e79cce Compare October 15, 2015 03:25
@frewsxcv

Copy link
Copy Markdown
Contributor Author

I did a little refactoring and got rid of the components/script/dom/util.rs file. Let me know what you think.

@eefriedman

Copy link
Copy Markdown
Contributor

Reviewed 1 of 9 files at r1.
Review status: 4 of 8 files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.


tests/wpt/web-platform-tests/html/semantics/tabular-data/the-tr-element/deleteCell.html, line 52 [r1] (raw file):
Oh, nevermind, I see what you're trying to do.


Comments from the review on Reviewable.io

@jdm jdm removed the S-needs-rebase There are merge conflict errors. label Oct 15, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

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

@highfive highfive added S-needs-rebase There are merge conflict errors. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Oct 15, 2015
@frewsxcv
frewsxcv force-pushed the htmltablerowelement-insertcell-deletecell branch from 9e79cce to 1f58169 Compare October 17, 2015 04:07
@frewsxcv

Copy link
Copy Markdown
Contributor Author

Merge conflicts addressed in the latest force push. @eefriedman did you have any other comments?

@frewsxcv frewsxcv removed the S-needs-rebase There are merge conflict errors. label Oct 17, 2015
@eefriedman

Copy link
Copy Markdown
Contributor

Maybe we should follow the predicted direction of whatwg/html#248 ?

Otherwise looks good.

@jdm

jdm commented Oct 17, 2015

Copy link
Copy Markdown
Member

I'd rather implement the current spec behaviour and update accordingly after the spec is changed.

@jdm

jdm commented Oct 17, 2015

Copy link
Copy Markdown
Member

@bors-servo: r=eefriedman
Thanks @frewsxcv and @eefriedman!

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 1f58169 has been approved by eefriedman

@highfive highfive 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 Oct 17, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 1f58169 with merge ef81195...

bors-servo pushed a commit that referenced this pull request Oct 17, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive 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 Oct 17, 2015
@Ms2ger

Ms2ger commented Oct 17, 2015

Copy link
Copy Markdown
Contributor

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for android, gonk, linux-dev, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only linux-rel...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit 1f58169 into servo:master Oct 17, 2015
@frewsxcv
frewsxcv deleted the htmltablerowelement-insertcell-deletecell branch October 17, 2015 14:56
@SimonSapin SimonSapin removed the S-tests-failed The changes caused existing tests to fail. label Jan 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants