1.14 KB, application/zip
2.58 KB, text/html
User-Agent: Mozilla/5.0 (Windows; U; Win98; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (Windows; U; Win98; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 Scenario is where HTML page has (a) table with border-collapse: collapse; (b) two alternate stylesheets, one with no cell borders and the other with cell borders. When switching from the alternate stylesheet with no cell borders to the stylesheet with cell borders, the table borders are not restored. This doesn't seem to happen with every test case, but where it happens, it happens consistently. [I'll need to upload a simple test case to demonstrate.] Reproducible: Always Steps to Reproduce: 1. In the test case, view the page and note the cells have 2px black borders. 2. Switch to the alternate stylesheet "No Cell Border". Note that the cells now have no borders. 3. Switch back to the stylesheet "Cell Border". Note that the cell borders are not restored on the top table, only on the bottom table. Actual Results: The 2px cell borders were not restored on the top table. To restore the cell borders on the top table, you need to reload the page. Expected Results: When switching from stylesheet "No Cell Border" to stylesheet "Cell Border", the 2px cell borders should be restored on the top table.
Created attachment 160814 [details] Simplified test case: ZIP file containing HTML file + 2 CSS files To demonstrate the bug, extract the 3 files "test_case.html", "stylesheet_border.css" and "stylesheet_noborder.css" into the same directory. Open the file "test_case.html" in Firefox (0.10.1). The 2 tables have cell borders, but after changing to the alternate stylesheet and changing back again, the top table will not have a cell border.
14 years ago
Depends on: 258377
fixed by the checkin for bug 258377
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.