Closed Bug 920587 Opened 11 years ago Closed 11 years ago

[BB] Confirm with content BB should properly support the absence of a <small> element

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-, b2g-v1.2 fixed, b2g-v1.3 fixed)

RESOLVED FIXED
blocking-b2g -
Tracking Status
b2g-v1.2 --- fixed
b2g-v1.3 --- fixed

People

(Reporter: gtorodelvalle, Assigned: arnau)

References

Details

Attachments

(1 file)

The current version of the confirm with content BB (http://buildingfirefoxos.com/building-blocks/confirm.html) does not properly support the absence of the <small> element (confirmation subtitle). This BB should properly manage this case so that the <strong> element (confirmation title) is vertically aligned to the space reserved for the image in case no <small> element is provided.
Assignee: nobody → arnau
Blocks: 916010
Attached file patch in github
Attachment #811056 - Flags: review?(gtorodelvalle)
Comment on attachment 811056 [details]
patch in github

Looking good to me :-) Using it right away in bug 916010 :-)
Attachment #811056 - Flags: review?(gtorodelvalle) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
blocking-b2g: --- → koi?
Comment on attachment 811056 [details]
patch in github

NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Confirm BB does not properly manage the absence of subtitle
[User impact] if declined: Bad user experience (visualization)
[Testing completed]: Tested in device
[Risk to taking this patch] (and alternatives if risky): Low
[String changes made]: None
Attachment #811056 - Flags: approval-gaia-v1.2?
blocking-b2g: koi? → -
Not blocking - agreed we should fix and consider approving, but this isn't a blocker for release.
Attachment #811056 - Flags: approval-gaia-v1.2? → approval-gaia-v1.2+
Uplifted 340d6feca6ac508a06b1e6054449b2e0394b1812 to:
v1.2: 35f953fe049cfe718ed9e2d6d218f763f11794aa
This patch causes error message in "adb logcat".

This message is displayed on booting.

--------------------
E/GeckoConsole(  108): [JavaScript Warning: "Error in parsing value for 'flex'.  Declaration dropped." {file: "app://keyboard.gaiamobile.org/shared/style/confirm.css" line: 215 column: 8 source: "  flex: column wrap;"}]
--------------------

hardware: KEON
Gaia: 5311b40f07e18fb612ce80804ff16ab5010da54a
Gecko: 0121083133a412524450bf38e546ca2c03765490
Uplifted 340d6feca6ac508a06b1e6054449b2e0394b1812 to:
v1.3 already had this commit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: