-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug 1354970 - Add @counter-style rules #16455
Conversation
Heads up! This PR modifies the following files:
|
ad32c29
to
50ceeff
Compare
IIRC, I'm supposed to review this pr? Assigning myself in case I forgot. r? @upsuper |
@SimonSapin AFAICT you can squash "Fix up unit tests" with the |
☔ The latest upstream changes (presumably #16496) made this pull request unmergeable. Please resolve the merge conflicts. |
50ceeff
to
10ba982
Compare
☔ The latest upstream changes (presumably #16553) made this pull request unmergeable. Please resolve the merge conflicts. |
Review status: 0 of 19 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. components/style/counter_style.rs, line 25 at r19 (raw file):
This is wrong, actually. Comments from Reviewable |
(I comment that first because I suppose that may or may not affect the first commit in your patchset) |
10ba982
to
1861809
Compare
Review status: 0 of 22 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. components/style/counter_style/mod.rs, line 25 at r19 (raw file): Previously, upsuper (Xidorn Quan) wrote…
Fixed, and filed w3c/csswg-drafts#1285. Comments from Reviewable |
Reviewed 1 of 2 files at r1, 18 of 19 files at r20, 8 of 8 files at r21, 3 of 3 files at r22, 3 of 3 files at r23, 1 of 1 files at r24, 5 of 6 files at r25, 3 of 4 files at r26, 2 of 3 files at r27, 1 of 2 files at r28, 2 of 3 files at r29, 2 of 3 files at r30, 3 of 4 files at r31, 2 of 3 files at r32, 1 of 2 files at r33, 2 of 3 files at r34, 2 of 3 files at r35, 2 of 3 files at r36, 1 of 2 files at r37, 2 of 3 files at r38, 2 of 2 files at r39, 2 of 2 files at r40, 3 of 3 files at r41. Cargo.lock, line 284 at r40 (raw file):
Please update a Cargo.toml at the same time, otherwise Stylo build wouldn't get the update automatically. components/script/dom/csskeyframesrule.rs, line 118 at r21 (raw file):
This is actually wrong. The name in keyframes rule can accept a string in CSS, thus it can accept arbitrary string. I think that also means there shouldn't be any check for CSSOM at all. But I guess that is probably a separate issue. components/style/stylesheets.rs, line 531 at r21 (raw file):
Given that the name can be an arbitrary, it probably shouldn't be stored as a components/style/stylesheets.rs, line 940 at r21 (raw file):
Ditto. components/style/stylesheets.rs, line 1142 at r21 (raw file):
This is weird. Strings like components/style/counter_style/update_predefined.py, line 11 at r41 (raw file):
You missed Japanese and Chinese counter style types. This is probably an editorial issue of the spec, though, that they are using components/style/counter_style/update_predefined.py, line 17 at r41 (raw file):
This is probably wrong. You should include components/style/properties/properties.mako.rs, line 845 at r40 (raw file):
This change seems to be unrelated. components/style/counter_style.rs, line 20 at r26 (raw file):
This is wrong. Nothing stops one from extending components/style/counter_style.rs, line 192 at r26 (raw file):
components/style/counter_style.rs, line 155 at r31 (raw file):
Probably add a components/style/counter_style.rs, line 239 at r32 (raw file):
It doesn't seem to me that components/style/counter_style.rs, line 465 at r35 (raw file):
It is called "additive tuple" in the spec. Probably this struct should be Comments from Reviewable |
☔ The latest upstream changes (presumably #16589) made this pull request unmergeable. Please resolve the merge conflicts. |
Review status: all files reviewed at latest revision, 14 unresolved discussions, some commit checks failed. Cargo.lock, line 284 at r40 (raw file): Previously, upsuper (Xidorn Quan) wrote…
This will be moot when rebasing on top of #16589, though I’m holding off the rebase for now to make navigation in Reviewable easier. (I should have done the same for yesterday’s rebase but forgot.) components/script/dom/csskeyframesrule.rs, line 118 at r21 (raw file): Previously, upsuper (Xidorn Quan) wrote…
Fixed. components/style/stylesheets.rs, line 531 at r21 (raw file): Previously, upsuper (Xidorn Quan) wrote…
Added a dedicated KeyframesName type, for components/style/stylesheets.rs, line 940 at r21 (raw file): Previously, upsuper (Xidorn Quan) wrote…
Changed to components/style/stylesheets.rs, line 1142 at r21 (raw file): Previously, upsuper (Xidorn Quan) wrote…
Fixed with components/style/counter_style/mod.rs, line 20 at r26 (raw file): Previously, upsuper (Xidorn Quan) wrote…
Changed components/style/counter_style/mod.rs, line 192 at r26 (raw file): Previously, upsuper (Xidorn Quan) wrote…
Fixed. components/style/counter_style/mod.rs, line 155 at r31 (raw file): Previously, upsuper (Xidorn Quan) wrote…
Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1359323 and added a FIXME linking to it. components/style/counter_style/mod.rs, line 239 at r32 (raw file): Previously, upsuper (Xidorn Quan) wrote…
Left over from before I realized components/style/counter_style/mod.rs, line 465 at r35 (raw file): Previously, upsuper (Xidorn Quan) wrote…
Done. components/style/counter_style/update_predefined.py, line 11 at r41 (raw file): Previously, upsuper (Xidorn Quan) wrote…
Fixed. components/style/counter_style/update_predefined.py, line 17 at r41 (raw file): Previously, upsuper (Xidorn Quan) wrote…
Ok for components/style/properties/properties.mako.rs, line 845 at r40 (raw file): Previously, upsuper (Xidorn Quan) wrote…
It is due to the cssparser update. The split into multiple commits is significant :) This fixes a "private in public" warning caused by Comments from Reviewable |
Bug 1354970 - Add @counter-style rules <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16455) <!-- Reviewable:end -->
💔 Test failed - mac-dev-unit |
Manifest update. @bors-servo r=upsuper |
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit f881bc7 has been approved by |
⚡ Previous build results for mac-rel-wpt1, windows-msvc-dev are reusable. Rebuilding only android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt2... |
💔 Test failed - arm32 |
f881bc7
to
1b41900
Compare
Failed to push… @bors-servo r=upsuper |
📌 Commit 1b41900 has been approved by |
Bug 1354970 - Add @counter-style rules <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16455) <!-- Reviewable:end -->
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev |
This change is