Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Bug 1117652 - prevent caret show on hidden input element
Browse files Browse the repository at this point in the history
  • Loading branch information
cctuan authored and rvandermeulen committed Mar 17, 2015
1 parent 568cc6e commit 306772a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/calendar/style/forms.css
Expand Up @@ -48,6 +48,10 @@ form li {
opacity: 0;
/* input should not be selectable otherwise it might affect the layout */
-moz-user-select: none;
/* Bug 1117652: copypaste bubble would be triggered if tapping or longpressing
on the input field, so we let the cursor out of the screen to
prevent it. */
text-indent: 110%;
}

/* RTL View */
Expand Down
7 changes: 7 additions & 0 deletions apps/clock/style/alarm.css
Expand Up @@ -75,6 +75,13 @@ ul.compact li label:active {
display: none;
}

#time-select {
/* Bug 1117652: copypaste bubble would be triggered if tapping or longpressing
on the input field, so we let the cursor out of the screen to
prevent it. */
text-indent: 110%;
}

/**
* 1. COMPLEX: Scoped style-sheets within <gaia-header>
* trump all other rules. !important is required
Expand Down

0 comments on commit 306772a

Please sign in to comment.