Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBug 1354970 - Add @counter-style rules #16455
Conversation
highfive
commented
Apr 14, 2017
|
Heads up! This PR modifies the following files:
|
highfive
commented
Apr 14, 2017
|
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 |
|
|
|
|
|
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) |
|
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 |
|
|
|
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 -->
|
|
|
Manifest update. @bors-servo r=upsuper |
|
|
|
|
|
|
|
|
Failed to push… @bors-servo r=upsuper |
|
|
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 -->
|
|
SimonSapin commentedApr 14, 2017
•
edited by larsbergstrom
This change is