A property may have a different value depending on whether the device is handheld, tv or a computer screen. Therefore, it is necessary to express that a style sheet, or a section of a style sheet, applies to certain "media types". The CSS media types spec is http://www.w3.org/TR/CSS2/media.html.
We should support the following media types:
all
handheld
screen
tv
This would allow a designer to express the values for the different media types in a single stylesheet, for example:
@media handheld {
Text { -fx-font: 9pt "Arial"; }
}
@media screen {
Text { -fx-font: 12pt "Arial"; }
}
@media tv {
Text { -fx-font: 18pt "Arial"; }
}
We should support the following media types:
all
handheld
screen
tv
This would allow a designer to express the values for the different media types in a single stylesheet, for example:
@media handheld {
Text { -fx-font: 9pt "Arial"; }
}
@media screen {
Text { -fx-font: 12pt "Arial"; }
}
@media tv {
Text { -fx-font: 18pt "Arial"; }
}
- blocks
-
JDK-8124762 Merge embedded.css and embedded-qvga.css into caspian.css
-
- Closed
-
-
JDK-8124951 A white unstyled box appears as options background when you open a ComboBox in Linux. (RT-28916 Related)
-
- Closed
-
-
JDK-8098261 CSS features and enhancements
-
- Closed
-
- relates to
-
JDK-8092014 Support CSS @media print
-
- Open
-