Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGoogle logo floats left in non-US Google #7301
Comments
|
I wanna work on it, could you guide me @jdm |
|
I've found the root cause of floating left. Google uses
|
|
That's triggered by this CSS rule: http://mxr.mozilla.org/servo/source/resources/presentational-hints.css#14 |
|
Then again, it may also be interacting with http://mxr.mozilla.org/servo/source/resources/servo.css#27 ? |
|
Here: http://mxr.mozilla.org/servo/source/components/layout/block.rs#2473 we have a check for |
|
That makes sense to me, but I will defer layout questions to people like @mbrubeck. |
|
Perhaps we need a flag on nodes that are children of a |
This adds -servo-left and -servo-right to complement -servo-center. This intentionally doesn't try to address issue servo#7301.
|
@jdm Other browsers do use a special text-align value here though (-webkit-center and -moz-center). |
This adds -servo-left and -servo-right to complement -servo-center. This intentionally doesn't try to address issue servo#7301.
Fully implement the "align descendants" rule for div. This adds -servo-left and -servo-right to complement -servo-center. ~~This intentionally doesn't try to address issue #7301.~~ Commit added to address #7301. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7825) <!-- Reviewable:end -->
For example, Google UK: