Closed
Bug 219903
Opened 21 years ago
Closed 20 years ago
-moz-initial value reads back as initial
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla1.8alpha6
People
(Reporter: neil, Assigned: dbaron)
Details
(Keywords: css-moz, css3, Whiteboard: [patch])
Attachments
(1 file)
3.02 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
If you set (e.g.) style="font-size: -moz-initial;" on an element the style reads back as "font-size: initial;" so if you try to concatenate a style the setting is lost completely as Mozilla does not understand a setting of "initial". This also affects the style property of HTML elements e.g. a setting of document.body.style.fontSize = "-moz-initial"; reads back as "initial".
Assignee | ||
Comment 1•21 years ago
|
||
There's another bug on this, somewhere. I think the 'initial' proposal is stable enough that we should just change everything to 'initial'. The problem is that we have 'initial' in some places and '-moz-initial' in others.
Comment 2•21 years ago
|
||
I wouldn't object to just using 'initial' everywhere. Aspects of the proposal, or related proposals, are still in flux, though (e.g. the recent 'default' discussion) so I'm not sure exactly _how_ stable 'initial' is.
Updated•20 years ago
|
Assignee | ||
Comment 3•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: [patch]
Target Milestone: --- → mozilla1.8alpha6
Assignee | ||
Updated•20 years ago
|
Attachment #167875 -
Flags: superreview?(bzbarsky)
Attachment #167875 -
Flags: review?(bzbarsky)
Comment 4•20 years ago
|
||
Comment on attachment 167875 [details] [diff] [review] patch r+sr=bzbarsky
Attachment #167875 -
Flags: superreview?(bzbarsky)
Attachment #167875 -
Flags: superreview+
Attachment #167875 -
Flags: review?(bzbarsky)
Attachment #167875 -
Flags: review+
Assignee | ||
Comment 5•20 years ago
|
||
Fix checked in to trunk, 2004-12-04 14:10 -0800.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•