Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Auto left and right margins not inherited in Firefox #33

Description

@raddevon

I have an element with auto left and right margins. In Chrome and other Webkit-based browsers, this is inherited by the wrapper by assigning the margin the calculated pixel value of the left and right margins. In Firefox, the left and right margins are instead inherited as 0px margins.

Activity

  1. self-assigned this
    on Jun 16, 2015
  2. tylersticka commented on Jun 16, 2015

    @tylersticka
    Member

    Unfortunately, this one comes down to inconsistencies in the return value of window.getComputedStyle in Firefox: http://stackoverflow.com/a/24292611

    Ideally, this would be fixed by styling hideShowPassword-wrapper (or whatever class name you choose), changing the inheritStyles array (which there's an open issue for, see #34), or moving the offending styles to a containing element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions