Closed Bug 223718 Opened 21 years ago Closed 21 years ago

cssparser has problems to clear the initial state

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bernd_mozilla, Assigned: dbaron)

References

()

Details

(Whiteboard: [patch])

Attachments

(1 file)

The above url asserts at: http://lxr.mozilla.org/seamonkey/source/content/html/style/src/nsCSSDataBlock.cpp#820 with a cvs build from 2003-10-24 winxp.
The problem is that setting the 'play-during' property sets values for eCSSProperty_play_during and eCSSProperty_play_during_flags, but we don't have play-during in the shorthand table (and it isn't a real shorthand). We could either fix this with bz's nsCSSValuePair patch or add a second funny value (-x-play-during-value) and make it a true shorthand.
Bug 208729 is the bug for the nsCSSValuePair work.
Depends on: 208729
Attached patch patchSplinter Review
This fixes the problem by making it a proper shorthand property.
I tested that this makes the rules in http://www.editions-eyrolles.com/livres/glazman/tests/acss/acss6.htm correct in DOM Inspector and that a slightly earlier version of it fixes the assertion.
Attachment #134197 - Flags: superreview?(bzbarsky)
Attachment #134197 - Flags: review?(bzbarsky)
Comment on attachment 134197 [details] [diff] [review] patch Yeah, this would fix it too...
Attachment #134197 - Flags: superreview?(bzbarsky)
Attachment #134197 - Flags: superreview+
Attachment #134197 - Flags: review?(bzbarsky)
Attachment #134197 - Flags: review+
Fix checked in to trunk, 2003-10-29 17:50/51 -0800.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: