Closed Bug 727735 Opened 12 years ago Closed 12 years ago

don't use computed style for width detection in IsProbablyForLayout

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: surkov, Assigned: surkov)

References

Details

(Keywords: access)

Attachments

(1 file)

Attached patch patchSplinter Review
GetComputedStyleValue for width doesn't make any sense because it returns width value in px regardless of style="width" usage.

covered by table/test_layoutguess.html
Attachment #597707 - Flags: review?(trev.saunders)
Assignee: nobody → surkov.alexander
No longer blocks: 714579
Blocks: 728127
Comment on attachment 597707 [details] [diff] [review]
patch

yeah, just looking at what the result is seems fairly reasonable.  I'm a little concerned about the case of really long columns but that's probaby really rare.
Attachment #597707 - Flags: review?(trev.saunders) → review+
(In reply to Trevor Saunders (:tbsaunde) from comment #1)
> Comment on attachment 597707 [details] [diff] [review]
> patch
> 
> yeah, just looking at what the result is seems fairly reasonable.  I'm a
> little concerned about the case of really long columns but that's probaby
> really rare.

provide an example/file a bug? we always have a room to improve our layoutguess logic.
https://hg.mozilla.org/mozilla-central/rev/121daf1e632b
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: