hayaku
hayaku copied to clipboard
Property+value mustn't be expanded without only-property in shorter abbr
If there is an abbreviation like con
, then if the findings are content
and content: normal;
, then Hayaku must look if the shorter abbr (without the last char) can be expanded to the only-property one and then decide what to show in that case.
So in that case the co
is expanded to color
, so con
can't be expanded to content: normal
, so it must expand to just content
.
This Issue also could fix those STATIC_ABBRs:
('bd', 'border'), # Instead of border-style: dashed;
('bbc', 'border-bottom-color'), # Instead of background-break continuous
('pr', 'padding-right'), # Instead of position relative
перенёс в alpha
Короче, надо делать. Правда, будет несколько мест, где чуть-чуть поломается (fl
/fr
и подобные), но сейчас всё хуже: bg
/bgc
и похожие — сломаны.
И-и-и, перенёс обратно в beta т.к. хочется запустить альфу поскорее и все найденные проблемы из-за широкого шортхендового словаря пока решим хардкодом (убиранием соответствующих значений из словаря + статические аббревиатуры)