Closed Bug 78709 Opened 24 years ago Closed 24 years ago

getComputedStyle not implemented for text-align property

Categories

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

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: glazou, Assigned: glazou)

References

Details

Attachments

(1 file)

getComputedStyle DOM 2 Style is not implemented for text-align property.
The answer is always "".

This is needed for the CSSization of Composer.
Patch for this bug added.

Harish : feel free to reassign to me if you want.

r= and sr= needed, thanks.
Blocks: 77705
Daniel: I'm reassigning this bug to you since it's your fix ;-).

r=harishd
Don't you want "start" instead of "left"?
sr=hyatt
Status: NEW → ASSIGNED
really re-assigning
Assignee: harishd → glazman
Status: ASSIGNED → NEW
==> mozilla 0.9.1
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.1
checked in :-)
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Currently finishing :

a) code for the retrieval of the CSS declarations contained in a STYLE attribute

   for that purpose, had to do implementation of nsDOMCSSDeclaration::GetCssText

b) a transaction for setting, removing, changing the value of a CSS declaration
   contained in a STYLE attribute
ooops; comment above attached to wrong bug...
VERIFIED using variations on:
   javascript:alert(document.defaultView.getComputedStyle(
      document.getElementsByTagName('P')[0], '').getPropertyValue('text-align'))
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: