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

position_fixed reftest identical to its reference #1516

Closed
SimonSapin opened this issue Jan 17, 2014 · 7 comments
Closed

position_fixed reftest identical to its reference #1516

SimonSapin opened this issue Jan 17, 2014 · 7 comments

Comments

@SimonSapin
Copy link
Member

@SimonSapin SimonSapin commented Jan 17, 2014

Sorry I’m late to the party, but I notice that src/test/ref/position_fixed_a.html and src/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.

@ibnc
Copy link

@ibnc ibnc commented Jan 17, 2014

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.

@ibnc
Copy link

@ibnc ibnc commented Jan 17, 2014

Thanks @metajack! I assume we use 800 x 1000 windows for our ref tests as well?

@Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Jan 17, 2014

Assume 600×600, please, for mobile. I'll update the wiki.

@metajack
Copy link
Contributor

@metajack metajack commented Jan 17, 2014

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.

@mbrubeck
Copy link
Contributor

@mbrubeck mbrubeck commented May 20, 2016

These files have moved to these new locations:

Fixing this will require changing these HTML+CSS files so that the test ("a") file uses position: fixed, while the reference ("b") file uses some other styling to achieve the same desired output. See the link above for more details, and tests/wpt/README.md for instructions on running and editing the tests.

@jdm jdm added the L-css label May 20, 2016
@mitchhentges
Copy link
Contributor

@mitchhentges mitchhentges commented May 22, 2016

I've got this, probably

@jdm jdm added the C-assigned label May 22, 2016
bors-servo added a commit that referenced this issue May 25, 2016
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 -->
bors-servo added a commit that referenced this issue May 25, 2016
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 -->
bors-servo added a commit that referenced this issue May 27, 2016
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 -->
bors-servo added a commit that referenced this issue May 27, 2016
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 -->
bors-servo added a commit that referenced this issue May 28, 2016
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 -->
bors-servo added a commit that referenced this issue May 31, 2016
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 -->
bors-servo added a commit that referenced this issue May 31, 2016
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 -->
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.

7 participants
You can’t perform that action at this time.