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 upposition_fixed reftest identical to its reference #1516
Comments
|
Nice catch! I can't seem to find what I actually read on ref tests again; regardless I must of misunderstood it. Thank for clarifying! I'll see what I can come up with. |
|
Thanks @metajack! I assume we use 800 x 1000 windows for our ref tests as well? |
|
Assume 600×600, please, for mobile. I'll update the wiki. |
|
I think we use 800x600 currently, which is the default window size in servo. Note that this size was chosen arbitrarily, and probably not for any particular reason. |
|
These files have moved to these new locations: Fixing this will require changing these HTML+CSS files so that the test ("a") file uses |
|
I've got this, probably |
Use floats to represent intended fixed position Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #1516 Either: - [X] There are tests for these changes Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11330) <!-- Reviewable:end -->
Use floats to represent intended fixed position Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #1516 Either: - [X] There are tests for these changes Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11330) <!-- Reviewable:end -->
Use floats to represent intended fixed position Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #1516 Either: - [X] There are tests for these changes Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11330) <!-- Reviewable:end -->
Use floats to represent intended fixed position Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #1516 Either: - [X] There are tests for these changes Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11330) <!-- Reviewable:end -->
Use floats to represent intended fixed position Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #1516 Either: - [X] There are tests for these changes Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11330) <!-- Reviewable:end -->
Use floats to represent intended fixed position Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #1516 Either: - [X] There are tests for these changes Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11330) <!-- Reviewable:end -->
Use floats to represent intended fixed position Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #1516 Either: - [X] There are tests for these changes Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11330) <!-- Reviewable:end -->
Sorry I’m late to the party, but I notice that
src/test/ref/position_fixed_a.htmlandsrc/test/ref/position_fixed_b.html(added in #1440) are identical.This really doesn’t work, as a reftest. The idea is to use the feature being tested in the test page, and have a reference page that does not use the feature but should render identically. A bug in the feature being tested will (hopefully) make the test render differently from its reference.
@ibnc, please try to modify these files to make them a reftest. Sometimes coming up with a reference is hard, especially when we have so few layout primitives that are implemented yet. Maybe the reference here could use negative margins. (Do we support those?) If a reftest proves too difficult, please remove the files.