name
< apis | css-regions | NamedFlow
name
This page has been flagged with the following issues:
High-level issues:
W3C Editor's Draft
Summary
Name of flow, as specified by any element's flow-from or flow-into properties.
Property of apis/css-regions/NamedFlow
Syntax
Note: This property is read-only.
var id = flow.name;
Return Value
Returns an object of type String.
Name of flow, as specified by any element's flow-from or flow-into properties.
Examples
JavaScript
// Generic event handler adds/deletes regions to fit content. The 'name'
// property might allow the handler to dispatch different functions for
// different flows.
function modifyFlow(e) {
var flow = e.target;
if (flow.overset) {
appendRegion(flow.name);
}
else if (flow.firstEmptyRegionIndex !== -1) {
trimRegions(flow.name);
}
}
document.getNamedFlows()['main'].addEventListener('regionlayoutupdate', modifyFlow);
Related specifications
| Specification | Status | Related Changes |
|---|---|---|
| CSS Regions Module Level 3 | W3C Editor's Draft |
Compatibility
Desktop
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic Support | 20 -webkit |
Unsupported | Unsupported | Unsupported |
534 -webkit
|
Mobile
| Feature | Android | BlackBerry | Chrome for mobile | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Opera Mini | Safari Mobile |
|---|---|---|---|---|---|---|---|---|
| Basic Support | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported |
See also
Related articles
Regions
- name
External resources
- W3C editor's draft: CSS Regions Module Level 3
- Adobe Web Standards: CSS Regions
- Adobe Developer's Network: CSS3 Regions: Rich page layout with HTML and CSS3
- Sample pages
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here