Closed
Bug 1261827
Opened 9 years ago
Closed 9 years ago
Text inputs for editing left and right padding/border/margin in the box-model tab are too big
Categories
(DevTools :: Inspector, defect, P1)
Tracking
(firefox48 fixed)
RESOLVED
FIXED
Firefox 48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: pbro, Assigned: jdescottes)
References
Details
(Keywords: regression, Whiteboard: [btpp-fix-now])
Attachments
(2 files)
STR:
- Use nightly (I built the fx-team branch today, not sure if this happens in nightly, but it sure doesn't in aurora).
- Open the inspector, switch the box-model tab
- Click on the left padding number for instance.
The input field is huge.
Assignee | ||
Comment 1•9 years ago
|
||
Regression due to Bug 1143742.
The inplace editor copies styles in 2 scenarios:
- from the replaced element to the input
- from the input to the measurement element
In order to support a multiline editor, the line-height is now part of the copied styles. However this style should only be copied when transferring styles from the input to the measurement element.
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•9 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=a4b88c4acc0b
In the meantime will try to come up with a test for this.
Assignee | ||
Comment 3•9 years ago
|
||
Only text styles should be copied between the replaced element and the input.
Other styles are still copied between the input and the measurement element.
Review commit: https://reviewboard.mozilla.org/r/44117/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/44117/
Attachment #8737810 -
Flags: review?(pbrosset)
Reporter | ||
Updated•9 years ago
|
Attachment #8737810 -
Flags: review?(pbrosset) → review+
Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8737810 [details]
MozReview Request: Bug 1261827 - inplace-editor: copyTextStyles should not copy line-height property;r=pbro
https://reviewboard.mozilla.org/r/44117/#review40703
Looks good to me.
Assignee | ||
Comment 6•9 years ago
|
||
Comment 7•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
Updated•9 years ago
|
Version: unspecified → 48 Branch
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•