Closed
Bug 1363596
Opened 7 years ago
Closed 7 years ago
stylo: Support symbols() function and string value for list-style-type
Categories
(Core :: CSS Parsing and Computation, enhancement, P1)
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: xidorn, Assigned: xidorn)
References
Details
Attachments
(3 files)
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
Will working on this after bug 1328319 lands.
Assignee: nobody → xidorn+moz
Updated•7 years ago
|
Priority: -- → P1
Assignee | ||
Comment 2•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=0fa4f79e2489ff9b4b6de03bdd50add852f97bb2
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8871542 [details] Bug 1363596 part 1 - Merge nsCOMPtr<nsIAtom> into CounterStylePtr. https://reviewboard.mozilla.org/r/143014/#review146808
Attachment #8871542 -
Flags: review?(cam) → review+
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8871543 [details] Bug 1363596 part 2 - Add support for symbols() function. https://reviewboard.mozilla.org/r/143016/#review146810 ::: layout/style/CounterStyleManager.h:107 (Diff revision 1) > > class AnonymousCounterStyle final : public CounterStyle > { > public: > explicit AnonymousCounterStyle(const nsSubstring& aContent); > + AnonymousCounterStyle(uint8_t aSystem, nsTArray<nsString> aSymbols); Should the second argument be nsTArray<nsString>&&? ::: servo/components/style/gecko/values.rs:416 (Diff revision 1) > + let symbols: Vec<_> = symbols.0.iter().map(|symbol| match *symbol { > + Symbol::String(ref s) => nsCString::from(s), > + Symbol::Ident(_) => unreachable!("Should not have identifier in symbols()"), > + }).collect(); > + let symbols: Vec<_> = symbols.iter().map(|symbol| { > + symbol as &nsACString as *const nsACString "as *const _" if you want to bit a bit shorter.
Attachment #8871543 -
Flags: review?(cam) → review+
Comment 10•7 years ago
|
||
mozreview-review |
Comment on attachment 8871544 [details] Bug 1363596 part 3 - Add string support for list-style-type. https://reviewboard.mozilla.org/r/143018/#review146814
Attachment #8871544 -
Flags: review?(cam) → review+
Assignee | ||
Comment 11•7 years ago
|
||
Servo side: servo/servo#17060
Assignee | ||
Comment 12•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8871543 [details] Bug 1363596 part 2 - Add support for symbols() function. https://reviewboard.mozilla.org/r/143016/#review146810 > Should the second argument be nsTArray<nsString>&&? Not necessary as far as callsites use `Move`. Might be better using `&&` to avoid accidental copy, though...
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 16•7 years ago
|
||
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again. hg error in cmd: hg rebase -s f8256885e1be -d 1ff36fd81097: rebasing 398629:f8256885e1be "Bug 1363596 part 1 - Merge nsCOMPtr<nsIAtom> into CounterStylePtr. r=heycam" rebasing 398630:7eccc8ee6a73 "Bug 1363596 part 2 - Add support for symbols() function. r=heycam" merging layout/reftests/counter-style/reftest.list warning: conflicts while merging layout/reftests/counter-style/reftest.list! (edit, then use 'hg resolve --mark') unresolved conflicts (see hg resolve, then hg rebase --continue)
Comment 17•7 years ago
|
||
Pushed by xquan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/05b6b590129d part 1 - Merge nsCOMPtr<nsIAtom> into CounterStylePtr. r=heycam https://hg.mozilla.org/integration/autoland/rev/bfb3d68ed8c4 part 2 - Add support for symbols() function. r=heycam https://hg.mozilla.org/integration/autoland/rev/9fcbe35118f1 part 3 - Add string support for list-style-type. r=heycam
Comment 18•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/05b6b590129d https://hg.mozilla.org/mozilla-central/rev/bfb3d68ed8c4 https://hg.mozilla.org/mozilla-central/rev/9fcbe35118f1
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•