Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inline-block layout doesn't respect min-width correctly #4945

Closed
glennw opened this issue Feb 17, 2015 · 0 comments
Closed

inline-block layout doesn't respect min-width correctly #4945

glennw opened this issue Feb 17, 2015 · 0 comments

Comments

@glennw
Copy link
Member

@glennw glennw commented Feb 17, 2015

<!DOCTYPE html>
<html>
    <head>
        <style type="text/css">
            * {
                margin: 0;
                padding: 0;
            }
            div {
                display: inline-block;
                min-width: 200px;
                width: 100px;
                height: 100px;
            }
            .red {
                background-color: red;
            }
            .green {
                background-color: green;
            }
        </style>
    </head>
    <body>
        <div class="red"></div><div class="green"></div>
    </body>
</html>

bors-servo pushed a commit that referenced this issue Mar 3, 2015
…alton

With inline-block elements set the width to max(min width,
specified width) instead of only using the specified width.

Fixes #4945
bors-servo pushed a commit that referenced this issue Mar 4, 2015
With inline-block elements set the width to max(min width,
specified width) instead of only using the specified width.

Fixes #4945
jrmuizel pushed a commit to jrmuizel/gecko-cinnabar that referenced this issue Jun 12, 2017
…jwbell:inline-block_fix_min-width); r=jdm

With inline-block elements set the width to max(min width,
specified width) instead of only using the specified width.

Fixes servo/servo#4945

Source-Repo: https://github.com/servo/servo
Source-Revision: 9d58c086e72a7d2fc8655506d35f30069bbadbbd
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Sep 30, 2019
…jwbell:inline-block_fix_min-width); r=jdm

With inline-block elements set the width to max(min width,
specified width) instead of only using the specified width.

Fixes servo/servo#4945

Source-Repo: https://github.com/servo/servo
Source-Revision: 9d58c086e72a7d2fc8655506d35f30069bbadbbd

UltraBlame original commit: 6c4cc60142de41b11e73978df58b1f4a8f9df6cc
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Oct 1, 2019
…jwbell:inline-block_fix_min-width); r=jdm

With inline-block elements set the width to max(min width,
specified width) instead of only using the specified width.

Fixes servo/servo#4945

Source-Repo: https://github.com/servo/servo
Source-Revision: 9d58c086e72a7d2fc8655506d35f30069bbadbbd

UltraBlame original commit: 6c4cc60142de41b11e73978df58b1f4a8f9df6cc
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Oct 1, 2019
…jwbell:inline-block_fix_min-width); r=jdm

With inline-block elements set the width to max(min width,
specified width) instead of only using the specified width.

Fixes servo/servo#4945

Source-Repo: https://github.com/servo/servo
Source-Revision: 9d58c086e72a7d2fc8655506d35f30069bbadbbd

UltraBlame original commit: 6c4cc60142de41b11e73978df58b1f4a8f9df6cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.