Skip to content

Conversation

@samelhusseini
Copy link
Contributor

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide

The details

Resolves

Proposed Changes

Align text and widget div text input pixel perfect on all browsers.
Browsers are inconsistent in what they return for a bounding box.

  • Webkit / Blink: fill-box / object bounding box
  • Gecko / Triden / EdgeHTML: stroke-box
    Adjust pixels so they match behaviour on all browsers.

Reason for Changes

Test Coverage

Tested geras and zelos on all major browsers.

Tested on:

Documentation

Additional Information

@samelhusseini samelhusseini changed the title [zelos] Cross browser pixel perfect widget div [zelos] Cross browser pixel perfect text input Nov 22, 2019
Copy link
Collaborator

@rachel-fenichel rachel-fenichel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Structurally, LGTM. I'm going to have to trust you on all of the specific values.

@samelhusseini samelhusseini merged commit 9fcc532 into RaspberryPiFoundation:develop Nov 25, 2019
@samelhusseini samelhusseini deleted the zelos_align_widgetdiv branch November 25, 2019 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants