Closed Bug 403386 Opened 17 years ago Closed 16 years ago

Changing border-style in border-collapse table does not take effect immediately

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: hib, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a8) Gecko/2007100620 GranParadiso/3.0a8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a8) Gecko/2007100620 GranParadiso/3.0a8

Please see the example page;

If I change the border style to solid on a table row without a border from javascript, it is not rendered on screen immediately.

The computed style is set correctly to solid, but the border does not show on screen. Only if you force a re-render of the screen e.g. by selecting print-preview, the border is shown.


Reproducible: Always

Steps to Reproduce:
1. see example page
2. click on text there
3. see no border on page
4. select print preview, see border on preview
5. close preview, see border on page.
Actual Results:  
border is not shown when you click on the text.

Expected Results:  
border is shown after clicking on text in example page.

This happen on Linux (with Firefox 2.0 and Gran Paradiso)and on Windows (with Firefox 2.0, don't know about Paradiso).
Confirmed with Mac trunk.  But please search for bugs with "border-collapse" and "[bc]" in the summary to make sure this isn't a duplicate.
Status: UNCONFIRMED → NEW
Component: General → Layout: Tables
Ever confirmed: true
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout.tables
Hardware: PC → All
Summary: Setting borderstyle from javascript does not render page → Changing border-style in border-collapse table does not take effect immediately
Version: unspecified → Trunk
Bug 286797 and bug 271755 are painting/invalidation bugs (fixed by resizing the window), but maybe this is bug 258377?
Depends on: 258377
fixed by the checkin for bug 258377
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: