Closed
Bug 907816
Opened 12 years ago
Closed 12 years ago
domUtils.getCSSValuesForProperty("transform") uses the "display" keyword table
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: Optimizer, Assigned: almasry.mina)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
2.59 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
and thus it returns value slike "inherit", "inline-block" etc.
Comment 1•12 years ago
|
||
David, any idea why 'transform' uses this table in nsCSSPropList.h?
Flags: needinfo?(dbaron)
Nope. Seems like a mistake. And dates back to https://hg.mozilla.org/mozilla-central/rev/b827e694565d
(Though "inherit" from comment 0 isn't a mistake.)
Flags: needinfo?(dbaron)
That said, I'm also not sure getCSSValuesForProperty should be looking at the property's keyword table unless it has VARIANT_KEYWORD in the variant mask.
Comment 4•12 years ago
|
||
Yeah, agreed.
Mina, do you have time for this?
Flags: needinfo?(almasry.mina)
| Assignee | ||
Comment 5•12 years ago
|
||
I do have the time for this (which is unfortunate, actually). I should remove the keyword table and check for VARIANT_KEYWORD, correct?
Assignee: nobody → almasry.mina
Flags: needinfo?(almasry.mina) → needinfo?(bzbarsky)
Comment 8•12 years ago
|
||
Comment on attachment 793664 [details] [diff] [review]
transform.patch
r=me
Attachment #793664 -
Flags: review?(bzbarsky) → review+
| Assignee | ||
Comment 9•12 years ago
|
||
Keywords: checkin-needed
Comment 10•12 years ago
|
||
Keywords: checkin-needed
Comment 11•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•