Closed Bug 243266 Opened 16 years ago Closed 14 years ago
Before of WBR does not cause reflow
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 The URL is a bookmarklet that breaks up long links and such to avoid over-stretching the page. It does so by adding WBR tags to the link text. However this does not trigger a reflow. Modifying the bookmarklet to add BR tags instead DOES trigger a reflow. If the WBR tags are present at initial render time, it renders correctly. Use Reproducible: Always Steps to Reproduce: 1. Go to http://www.yabbse.org/community/index.php?thread=27432 2. Execute bookmarklet. Actual Results: Nothing. Expected Results: Reflow should wrap the link text.
Created a testcase. After clicking the button, the third table should look like the second.
The previous testcase had two elements with id "big", so the <wbr> was being added in the wrong place. I also made the testcase work in IE (added a missing quote) and added a button that forces a relayuot.
Attachment #148315 - Attachment is obsolete: true
The reflow branch landing fixed this. Test added to reftest suite.
Status: NEW → RESOLVED
Closed: 14 years ago
Depends on: reflow-refactor
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.