Bug 77420 - Changing display: inline to display: block with media queries
Summary: Changing display: inline to display: block with media queries
Status: RESOLVED DUPLICATE of bug 74976
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Unspecified
: P2 Major
Assignee: Nobody
URL: http://project.karlroos.se/bug/
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-31 03:31 PST by Karl Laurentius Roos
Modified: 2012-02-08 19:35 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Laurentius Roos 2012-01-31 03:31:36 PST
Try resizing the page to the URL attached.

As you see, the initial state of the links in the list is "display: inline". When the window is smaller than 740px the display property is changed to block, thus making the list items list vertically. When you size up the window again to above 740px the list is supposed to return to the initial state which is what doesn't happen.
Comment 1 David Barr 2012-02-08 19:32:53 PST
This looks quite similar to another bug:
"Element still flowed below parent after changing from block to inline-block"
https://bugs.webkit.org/show_bug.cgi?id=74976
Comment 2 David Barr 2012-02-08 19:35:07 PST

*** This bug has been marked as a duplicate of bug 74976 ***