Closed Bug 200497 Opened 21 years ago Closed 17 years ago

getComputedStyle returns wrong value table-layout property

Categories

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

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bernd_mozilla, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

it returns for a fixed layout auto
Attached file testcase
Blocks: 42417
Keywords: testcase
Trivial fix is to, in ua.css do:

--- layout/html/document/src/ua.css     25 Nov 2002 23:40:56 -0000      3.198
+++ layout/html/document/src/ua.css     3 Apr 2003 18:30:08 -0000
@@ -69,20 +69,21 @@
   /* background and border should be inherited so that computed style
    * (which uses the outer frame) will get the right values for these
    * properties.  Since the outer frame does not paint, inheriting
    * these is OK.
    */
   background: inherit;
   border: inherit;
   -moz-opacity: inherit;
   page-break-before: inherit;
   page-break-after: inherit;
+  table-layout: inherit;
 }

But we should just decide once and for all how computed style should be treating
the inner and outer frames.  What properties should come off the outer frame? 
What about the inner?

btw, that patch makes the top table in the testcase green but the rest of the
testcase stays red; this confused me a great deal till I read the testcase
source and realized that that's just how the testcase is written....
Testcase works on trunk.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: