Closed
Bug 1407832
Opened 7 years ago
Closed 7 years ago
Stylo: Flags inherited by for_inheritance are suspicious
Categories
(Core :: CSS Parsing and Computation, enhancement, P4)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla58
People
(Reporter: jryans, Assigned: emilio)
Details
Attachments
(1 file)
41 bytes,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
Regarding flags in `StyleBuilder::for_inheritance`: (Copied from Emilio Cobos Álvarez [:emilio] in bug 1406254 comment 9) > Last, but not least, can you file a bug on our usage of `parent.flags` in > that function and ni? me (or assign me directly)? Some of the flags aren't > supposed to be "inherited", like INHERITS_RESET_STYLE / INHERITS_CONTENT. > That's fishy, but it's not a problem right now because we only use them for > element styles. It should get fixed though.
Assignee | ||
Comment 2•7 years ago
|
||
Flags: needinfo?(emilio)
Attachment #8918555 -
Flags: review?(cam)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → emilio
Comment 3•7 years ago
|
||
Comment on attachment 8918555 [details] [diff] [review] Patch Review of attachment 8918555 [details] [diff] [review]: ----------------------------------------------------------------- ::: components/style/matching.rs @@ +365,1 @@ > debug!(" > flags changed: {:?} != {:?}", old_values.flags, new_values.flags); Maybe make this: debug!(" > inherited flags changed: {:?} != {:?}", old_values.flags.inherited(), new_values.flags.inherited());
Attachment #8918555 -
Attachment is patch: true
Attachment #8918555 -
Attachment mime type: text/x-github-pull-request → text/plain
Attachment #8918555 -
Flags: review?(cam) → review+
Assignee | ||
Comment 4•7 years ago
|
||
This landed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Target Milestone: --- → mozilla58
You need to log in
before you can comment on or make changes to this bug.
Description
•