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 upCSS properties background-size & background-position don't seem to work. #11304
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is the an html file that can be used to reproduce the issue:
above page in servo renders as:
In other engines it renders as:
Difference is that other engines take
background-size: 0into account and there for outer elements background is not displayed while inner element's is.Now removing
background-sizeproperty reveals another issue, which isbackground-positionis also not taken into account. In servo removingbackground-sizehas no effect. while in other engines it renders as follows:One more odd behavior observed in servo is revealed by resizing window, when window size is increased at some point
.progresselement seems to overflow under something not sure under what or why though.