Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* stable: Version Bump. Update changelog for 0.11.5 Reset only the block HTML elements #339 fix warning logic in vertical-rhythms module Conflicts: VERSION.yml
- Loading branch information
Showing
11 changed files
with
44 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
module Compass::SassExtensions::Functions::Display | ||
DEFAULT_DISPLAY = { | ||
:block => %w{address blockquote center dir div dd dl dt fieldset form | ||
frameset h1 h2 h3 h4 h5 h6 hr isindex menu noframes | ||
noscript ol p pre ul | ||
article aside dialog figure footer header hgroup nav section}, | ||
:inline => %w{a abbr acronym b basefont bdo big br cite code dfn em | ||
font i img input kbd label q s samp select small span | ||
strike strong sub sup textarea tt u var}, | ||
:block => %w{address article aside blockquote center dir div dd details dl dt fieldset | ||
figcaption figure form footer frameset h1 h2 h3 h4 h5 h6 hr header hgroup | ||
isindex menu nav noframes noscript ol p pre section summary ul}, | ||
:inline => %w{a abbr acronym audio b basefont bdo big br canvas cite code command | ||
datalist dfn em embed font i img input keygen kbd label mark meter output | ||
progress q rp rt ruby s samp select small span strike strong sub | ||
sup textarea time tt u var video wbr}, | ||
:table => %w{table}, | ||
:"list-item" => %w{li}, | ||
:"table-row-group" => %w{tbody}, | ||
:"table-header-group" => %w{thead}, | ||
:"table-footer-group" => %w{tfoot}, | ||
:"table-row" => %w{tr}, | ||
:"table-cell" => %w{th td}, | ||
:html5 => %w{article aside dialog figure footer header hgroup nav section} | ||
:"html5-block" => %w{article aside details figcaption figure footer header hgroup menu nav section summary}, | ||
:"html5-inline" => %w{audio canvas command datalist embed keygen mark meter output progress rp rt ruby time video wbr}, | ||
} | ||
|
||
DEFAULT_DISPLAY[:html5] = (DEFAULT_DISPLAY[:"html5-block"] + DEFAULT_DISPLAY[:"html5-inline"]).sort | ||
# returns a comma delimited string for all the | ||
# elements according to their default css3 display value. | ||
def elements_of_type(display) | ||
Sass::Script::String.new(DEFAULT_DISPLAY.fetch(display.value.to_sym).join(", ")) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.