Closed Bug 101925 Opened 23 years ago Closed 23 years ago

Implement getComputedStyle() for float property

Categories

(Core :: DOM: CSS Object Model, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.5

People

(Reporter: glazou, Assigned: glazou)

References

Details

Attachments

(3 files)

getComputedStyle() is not implemented for the float property.
Blocks: 77705
Target Milestone: --- → mozilla0.9.5
patch attached, ready for reviews (I also did a little cleanup/reordering of some*
lines)
Status: NEW → ASSIGNED
CC'ing bz who's the new happy owner of getComputedStyle
Comment on attachment 51056 [details] [diff] [review]
patch v1.0

r=bzbarsky if you add that to the right place in queryableProperties (please attach a new patch once you do that....)
Attachment #51056 - Flags: review+
Blocks: 42417
Keywords: patch, review
Comment on attachment 51056 [details] [diff] [review]
patch v1.0

sr=jst with the bad next-line argument indentation fixed.
Attachment #51056 - Flags: superreview+
checked in trunk
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
argh. reopening....

-nsComputedDOMStyle::GetCssFloat(nsAWritableString& aCssFloat)
+nsComputedDOMStyle::GetFloat(nsAWritableString& aFloat)

That's no good...  missed that my first look at the file.  :(

The property as defined by
http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSS2Properties
is called cssFloat (since "float" is a reserved word in some languages).

glazou, would you care to attach a fixup patch?  And my apologies for missing
this the first time... 
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
fixed with rs=jst on #mozilla
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Thanks for the fixup... my apologies for the cruddy review.... :(
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: