-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pending issues: #3
Comments
@chriscoyier Do you have any feedback on the Styles section here? The other questions are sort of self-explanatory, but meter elements don't show up when printing unless you specifically indicate to print background images (at least in Chrome). I opened a bug report, but it doesn't seem like much will happen unless a standard is established sigh |
|
Oh, what I meant was when you apply the print stylesheet (Harjita one), should we add some extra styling to deal with those elements.
|
And as for the HTML5 progress element, the graphic is all that prints, not the text. To show the text, we could add the following to the print style (demo): /* printing text of progress */
@media print {
progress[value] {
position: relative;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: auto;
height: auto;
border: none;
box-shadow: none;
}
progress[value]:before {
content: attr(value) '%';
position: relative;
top: -0.2em;
}
progress[value]::-webkit-progress-bar {
background: white none;
}
progress[value]::-webkit-progress-value {
background: white none;
}
progress[value]::-moz-progress-bar {
background: white none;
}
} But this doesn't appear to work in Firefox 😞 Maybe we should just leave it as-is. |
Misc
Hiding elements
<br>
or<p></p>
How to Style?
<meter low="69" high="80" max="100" value="84">B</meter>
- rendered as a background graphic<progress value="70" max="100">70 %</progress>
- show graphic or text?<kbd>
style in reset?<mark>
to white background in reset (ref)?The text was updated successfully, but these errors were encountered: