Summary: | Use of DL on page with float left, following HTML element also gets lined up to final DD element | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Matt Gray <matt.gray> | ||||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | UNCONFIRMED --- | ||||||||
Severity: | Normal | CC: | ahmad.saleem792, bfulgham, karlcow, mrowe, robert, simon.fraser, webkit-bug-importer, zalan | ||||||
Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.5 | ||||||||
URL: | http://www.mbf.com.au | ||||||||
Attachments: |
|
Description
Matt Gray
2009-05-10 19:20:55 PDT
Created attachment 30168 [details]
test case
Created attachment 30169 [details]
screenshot of problem
Which version of WebKit did you test with? <http://www.mbf.com.au/> renders correctly for me with a build of WebKit from this afternoon. The error is with (5528.16, r43039) and earlier. The error has been around for a long long time so I didn't think to check today's build, but maybe it has been fixed recently. Just tested the latest nightly build - Version 4 Public Beta (5528.16, r43444). Still not laid out correctly - the main content of the page is way off to the right of where it should be. I am not sure on the expected output but using attached test case: Safari Technology Preview 160 & Safari 16.2 show "This is a test... I should be.." line on left side as left-aligned. It matches with Firefox Nightly 110 while Chrome Canary 111 show it is as "center" aligned. Just wanted to share updated results and will tag others to confirm. Thanks! So obviously the initial design of https://mfb.com.au/ has changed. The behavior of Safari is aligned with the one of Safari. But the test case is probably not obvious. Having a better test case would probably help to better understand. But just removing the margin on dl#mbfNav { margin: 0 10px 0 10px; min-height: 27px; height: 2.4em; } fixes the issue on Chrome. hmmm… but… there is always a but… playing with zoom values, it changes the behavior. It jumps in between states of next line and beside. So probably related to the boxes. The real fix is clear:both. At least it is resilient to zoom in Firefox. |