Summary: | Allow setting CSS values to null. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||||
Component: | CSS | Assignee: | Alexey Proskuryakov <ap> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | mrowe | ||||||
Priority: | P2 | ||||||||
Version: | 420+ | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.4 | ||||||||
Attachments: |
|
Description
Alexey Proskuryakov
2006-12-21 11:30:46 PST
Created attachment 11954 [details]
proposed patch
args[1]->isNull() ? String() : String(args[1]->toString(exec)) doesn't look particularly good to me - do we have a better idiom?
(In reply to comment #1) > args[1]->isNull() ? String() : String(args[1]->toString(exec)) doesn't look > particularly good to me - do we have a better idiom? We do -- valueToStringWithNullCheck is the name. Created attachment 11955 [details]
proposed patch
Uses valueToStringWithNullCheck(). Thank you!
Comment on attachment 11955 [details]
proposed patch
r=me
Committed revision 18377. |