revert

Arturo Pérez-Reverte y la "criminal" partida de ajedrez de Pedro Sánchez y Carlos Mazón

Anoche en El Hormiguero, Arturo Pérez-Reverte le dijo a Pablo Motos "no me calientes, ya está". Quería hacer el escritor un acto de contrición, de control. Fue imposible. La indignación, el malestar, la vergüenza por todo lo ocurrido fueron más fuertes Leer




revert

¿Se puede revertir el alzheimer con una alimentación basada en plantas?




revert

Gerardo Ortiz: "Estamos a tiempo, esperamos revertir y ser protagonistas del torneo"




revert

Chará enfocado en revertir la situación del Junior: “El grupo debe retomar la confianza”




revert

Inherit, initial, unset, revert

Today we’re going to take a quick look at a few special CSS keywords you can use on any CSS property: inherit, initial, revert, and unset. Also, we will ask where and when to use them to the greatest effect, and if we need more of those keywords.

The first three were defined in the Cascading Level 3 spec, while revert was added in Cascading Level 4. Despite 4 still being in draft revert is already supported. See also the MDN revert page, Chris Coyier’s page, and my test page

inherit

The inherit keyword explicitly tells an element that it inherits the value for this declaration from its parent. Let’s take this example:

.my-div {
	margin: inherit;
}

.my-div a {
	color: inherit;
}

The second declaration is easiest to explain, and sometimes actually useful. It says that the link colour in the div should be the same as the text colour. The div has a text colour. It’s not specified here, but because color is inherited by default the div gets the text color of its parent. Let’s say it’s black.

Links usually have a different colour. As a CSS programmer you frequently set it, and even if you don’t browsers automatically make it blue for you. Here, however, we explicitly tell the browsers that the link colour should be inherited from its parent, the div. In our example links become black.

(Is this a good idea? Occasionally. But if you remove the colour difference between links and main text, make sure your links are underlined. Your users will thank you.)

Now let’s look at the margin: inherit. Normally margins don’t inherit, and for good reason. The fact that an element has margin-left: 10% does not mean all of its descendents should also get that margin. In fact, you most likely don’t want that. Margins are set on a per-case basis.

This declaration tells the div to use the margin specified on its parent, however. This is an odd thing to specify, and I never saw a practical use case in the wild. Still CSS, being ridiculously powerful, allows it.

In any case, that’s how the inherit keyword works. Using it for font sizes or colours may occasionally be a good idea. In other contexts - rarely.

And keep the difference between inheriting and non-inheriting properties in mind. It’s going to be important later on.

initial

The initial keywords sets the property back to its initial value. This is the value specified in the W3C specification for that property.

Initial values from the spec are a bit of a mixed bag. Some make sense, others don’t, really. float: none and background-color: transparent are examples of the first category. Of course an element does not have a background colour without you specifying one, nor does it float automatically.

Others are historically determined, such as background-repeat: repeat. Back in the Stone Age before CSS all background images repeated, and the CSS1 specification naturally copied this behaviour.

Still others are essentially arbitrary, such as display: inline. Why did W3C opt for inline instead of block? I don’t know, and it doesn’t really matter any more. They had to decide on an initial value, and while inline is somewhat strange, block would be equally strange.

In any case, the initial keyword makes the property revert to this initial value from the specification, whether that makes sense or not.

unset

When we get to the unset value the distinction between inheriting and non-inheriting properties becomes important. unset has a different effect on them.

  • If a property is normally inherited, unset means inherit.
  • If a property is normally not inherited, unset means initial.

revert

revert, the newest of these keywords, also distinguishes between inheriting and non-inheriting properties.

  • If a property is normally inherited, revert means inherit.
  • If a property is normally not inherited, revert reverts to the value specified in the browser style sheet.

all

Finally, we should treat all. It is not a value but a property, or rather, the collection of all CSS properties on an element. It only takes one of the keywords we discussed, and allows you to apply that keyword to all CSS properties. For instance:

.my-div {
	all: initial;
}

Now all CSS properties on the div are set to initial.

Examples

The reaction of my test page to setting the display of all elements to the four keywords is instructive. My test script sets the following style:

body * {
	display: [inherit | initial | unset | revert] !important;
}

The elements react as follows:

  • display: inherit: all elements now inherit their display value from the body. Since the body has display: block all elements get that value, whether that makes sense or not.
  • display: initial: the initial value of display is inline. Therefore all elements get that value, whether that makes sense or not.
  • display: unset: display does not inherit. Therefore this behaves as initial and all elements get display: inline.
  • display: revert: display does not inherit. Therefore the defaults of the browser style sheet are restored, and each element gets its proper display — except for the dl, which I had given a display: grid. This value is now supplanted by the browser-provided block.

Unfortunately the same test page also contains a riddle I don’t understand the behaviour of <button>s when I set color to the four keywords:

  • color: inherit: all elements, including <button>s, now inherit their colour from the body, which is blue. So all text becomes blue.
  • color: initial: since the initial value of color is black, all elements, including <button>s, become black.
  • color: unset: color inherits. Therefore this behaves as inherit and all elements, including <button>s, become blue.
  • color: revert: This is the weird one. All elements become blue, except for <button>s, which become black. I don’t understand why. Since colors inherit, I expected revert to work as inherit and the buttons to also become blue. But apparently the browser style sheet of button {color: black} (more complicated in practice) is given precedence. Yes, revert should remove author styles (the ones we write), and that would cause the black from the browser style sheet to be applied, but only if a property does not inherit — and color does. I don’t know why the browser style sheet is given precedence in this case. So I’m going to cop out and say form elements are weird.

Practical use: almost none

The purpose of both unset and revert is to wipe the slate clean and return to the initial and the browser styles, respectively — except when the property inherits; in that case, inheritance is still respected. initial, meanwhile, wipes the slate even cleaner by also reverting inheriting properties to their initial values.

This would be useful when you create components that should not be influenced by styles defined elsewhere on the page. Wipe the slate clean, start styling from zero. That would help modularisation.

But that’s not how these keywords work. We don’t want to revert to the initial styles (which are sometimes plain weird) but to the browser style sheet. unset comes closest, but it doesn’t touch inherited styles, so it only does half of what we want.

So right now these keywords are useless — except for inherit in a few specific situations usually having to do with font sizes and colours.

New keyword: default

Chris Coyier argues we need a new value which he calls default. It reverts to the browser style sheet in all cases, even for inherited properties. Thus it is a stronger version of revert. I agree. This keyword would be actually useful. For instance:

.my-component,.my-component * {
	all: default;
	font-size: inherit;
	font-family: inherit;
	color: inherit;
}

Now we have a component that’s wiped clean, except that we decide to keep the fonts and colour of the main page. The rest is a blank slate that we can style as we like. That would be a massive boon to modularisation.

New keyword: cascade

For years now I have had the feeling that we need yet another keyword, which I’ll call cascade for now. It would mean “take the previous value in the cascade and apply it here.” For instance:

.my-component h2 {
	font-size: 24px;
}

.my-other-component h2 {
	font-size: 3em;
}

h2#specialCase {
	font-size: clamp(1vw,cascade,3vw)
}

In this (slightly contrived) example I want to clamp the font-size of a special h2 between 1vw and 3vw, with the preferred value being the one defined for the component I’m working in. Here, cascade would mean: take the value the cascade would deliver if this rule didn’t exist. This would make the clamped font size use either 24px or 3em as its preferred value, depending on which component we’re in.

The problem with this example is that it could also use custom properties. Just set --h2size to either 24px or 3em, use it in the clamp, and you’re done.

.my-component h2 {
	--h2size: 24px;
	font-size: var(--h2size);
}

.my-other-component h2 {
	--h2size: 3em;
	font-size: var(--h2size);
}

h2#specialCase {
	font-size: clamp(1vw,var(--h2size),3vw)
}

Still, this is but the latest example I created. I have had this thought many, many times, but because I didn’t keep track of my use cases I’m not sure if all of them could be served by custom properties.

Also, suppose you inherit a very messy CSS code base with dozens of components written at various skill levels. In that case adding custom properties to all components might be impractical, and the cascade keyword might help.

Anyway, I barely managed to convince myself, so professional standard writers will certainly not be impressed. Still, I thought I’d throw it out here to see if anyone else has a use case for cascade that cannot be solved with custom properties.



  • CSS for JavaScripters

revert

Inhibition of glycosphingolipid biosynthesis reverts multidrug resistance by differentially modulating ABC transporters in chronic myeloid leukemias [Cell Biology]

Multidrug resistance (MDR) in cancer arises from cross-resistance to structurally- and functionally-divergent chemotherapeutic drugs. In particular, MDR is characterized by increased expression and activity of ATP-binding cassette (ABC) superfamily transporters. Sphingolipids are substrates of ABC proteins in cell signaling, membrane biosynthesis, and inflammation, for example, and their products can favor cancer progression. Glucosylceramide (GlcCer) is a ubiquitous glycosphingolipid (GSL) generated by glucosylceramide synthase, a key regulatory enzyme encoded by the UDP-glucose ceramide glucosyltransferase (UGCG) gene. Stressed cells increase de novo biosynthesis of ceramides, which return to sub-toxic levels after UGCG mediates incorporation into GlcCer. Given that cancer cells seem to mobilize UGCG and have increased GSL content for ceramide clearance, which ultimately contributes to chemotherapy failure, here we investigated how inhibition of GSL biosynthesis affects the MDR phenotype of chronic myeloid leukemias. We found that MDR is associated with higher UGCG expression and with a complex GSL profile. UGCG inhibition with the ceramide analog d-threo-1-(3,4,-ethylenedioxy)phenyl-2-palmitoylamino-3-pyrrolidino-1-propanol (EtDO-P4) greatly reduced GSL and monosialotetrahexosylganglioside levels, and co-treatment with standard chemotherapeutics sensitized cells to mitochondrial membrane potential loss and apoptosis. ABC subfamily B member 1 (ABCB1) expression was reduced, and ABCC-mediated efflux activity was modulated by competition with nonglycosylated ceramides. Consistently, inhibition of ABCC-mediated transport reduced the efflux of exogenous C6-ceramide. Overall, UGCG inhibition impaired the malignant glycophenotype of MDR leukemias, which typically overcomes drug resistance through distinct mechanisms. This work sheds light on the involvement of GSL in chemotherapy failure, and its findings suggest that targeted GSL modulation could help manage MDR leukemias.




revert

Coaches warn of ‘disastrous’ consequences over plan to revert to one-ref system

Tune into our new show Fox League Live on Channel 502 Monday to Friday at 6.30pm and on Saturday at 3pm and Sunday at 5pm.




revert

NRL referees consider going on strike in protest of plans to revert back to one official

ARLC chairman Peter V'landys is hoping to finalise the seven year TV deal with Fox Sports and Channel 9 by Friday and give a much needed financial injection to the cash strapped NRL.




revert

The A.B.C. of wireless telegraphy: a plain treatise on Hertzian wave signaling, embracing theory, methods of operation, and how to build various pieces of the apparatus employed / by Edward Trevert [pseud.]

Archives, Room Use Only - TK5741.T74 1902




revert

Reverting back to Windows 7




revert

Terapia inédita reverte leucemia incurável em bebê de 1 ano

Tratamento genético foi testado em Layla Richards que estava desenganada pelos médicos. Especialistas ressaltam que os resultados são iniciais e podem não ocorrer em outros pacientes.

The post Terapia inédita reverte leucemia incurável em bebê de 1 ano appeared first on Saúde Próspera.



  • Dicas de Saúde

revert

Inhibition of glycosphingolipid biosynthesis reverts multidrug resistance by differentially modulating ABC transporters in chronic myeloid leukemias [Cell Biology]

Multidrug resistance (MDR) in cancer arises from cross-resistance to structurally- and functionally-divergent chemotherapeutic drugs. In particular, MDR is characterized by increased expression and activity of ATP-binding cassette (ABC) superfamily transporters. Sphingolipids are substrates of ABC proteins in cell signaling, membrane biosynthesis, and inflammation, for example, and their products can favor cancer progression. Glucosylceramide (GlcCer) is a ubiquitous glycosphingolipid (GSL) generated by glucosylceramide synthase, a key regulatory enzyme encoded by the UDP-glucose ceramide glucosyltransferase (UGCG) gene. Stressed cells increase de novo biosynthesis of ceramides, which return to sub-toxic levels after UGCG mediates incorporation into GlcCer. Given that cancer cells seem to mobilize UGCG and have increased GSL content for ceramide clearance, which ultimately contributes to chemotherapy failure, here we investigated how inhibition of GSL biosynthesis affects the MDR phenotype of chronic myeloid leukemias. We found that MDR is associated with higher UGCG expression and with a complex GSL profile. UGCG inhibition with the ceramide analog d-threo-1-(3,4,-ethylenedioxy)phenyl-2-palmitoylamino-3-pyrrolidino-1-propanol (EtDO-P4) greatly reduced GSL and monosialotetrahexosylganglioside levels, and co-treatment with standard chemotherapeutics sensitized cells to mitochondrial membrane potential loss and apoptosis. ABC subfamily B member 1 (ABCB1) expression was reduced, and ABCC-mediated efflux activity was modulated by competition with nonglycosylated ceramides. Consistently, inhibition of ABCC-mediated transport reduced the efflux of exogenous C6-ceramide. Overall, UGCG inhibition impaired the malignant glycophenotype of MDR leukemias, which typically overcomes drug resistance through distinct mechanisms. This work sheds light on the involvement of GSL in chemotherapy failure, and its findings suggest that targeted GSL modulation could help manage MDR leukemias.




revert

Lasalgaon to revert to auction of onions in loose format from May 4

The APMC officials pointed out workers usually come to the market yard on pick-up trucks, however, the police have been acting against them as social distancing is not maintained onboard the pick-ups.





revert

Reverters and how to spot them

This webinar will provide delegates with an introduction to the rights of reverter, which may result in unexpected consequences where land ceases to be used for certain educational purposes....




revert

Internal Monitoring - The Legislator reverts to the issue of antitrust compliance

...




revert

Inhibition of glycosphingolipid biosynthesis reverts multidrug resistance by differentially modulating ABC transporters in chronic myeloid leukemias [Cell Biology]

Multidrug resistance (MDR) in cancer arises from cross-resistance to structurally- and functionally-divergent chemotherapeutic drugs. In particular, MDR is characterized by increased expression and activity of ATP-binding cassette (ABC) superfamily transporters. Sphingolipids are substrates of ABC proteins in cell signaling, membrane biosynthesis, and inflammation, for example, and their products can favor cancer progression. Glucosylceramide (GlcCer) is a ubiquitous glycosphingolipid (GSL) generated by glucosylceramide synthase, a key regulatory enzyme encoded by the UDP-glucose ceramide glucosyltransferase (UGCG) gene. Stressed cells increase de novo biosynthesis of ceramides, which return to sub-toxic levels after UGCG mediates incorporation into GlcCer. Given that cancer cells seem to mobilize UGCG and have increased GSL content for ceramide clearance, which ultimately contributes to chemotherapy failure, here we investigated how inhibition of GSL biosynthesis affects the MDR phenotype of chronic myeloid leukemias. We found that MDR is associated with higher UGCG expression and with a complex GSL profile. UGCG inhibition with the ceramide analog d-threo-1-(3,4,-ethylenedioxy)phenyl-2-palmitoylamino-3-pyrrolidino-1-propanol (EtDO-P4) greatly reduced GSL and monosialotetrahexosylganglioside levels, and co-treatment with standard chemotherapeutics sensitized cells to mitochondrial membrane potential loss and apoptosis. ABC subfamily B member 1 (ABCB1) expression was reduced, and ABCC-mediated efflux activity was modulated by competition with nonglycosylated ceramides. Consistently, inhibition of ABCC-mediated transport reduced the efflux of exogenous C6-ceramide. Overall, UGCG inhibition impaired the malignant glycophenotype of MDR leukemias, which typically overcomes drug resistance through distinct mechanisms. This work sheds light on the involvement of GSL in chemotherapy failure, and its findings suggest that targeted GSL modulation could help manage MDR leukemias.




revert

Joe Lycett reverts to using own name after legally changing it to Hugo Boss

The 'Joe Lycett's Got Your Back' presenter legally changed his name in March




revert

Joe Lycett shares final statement as Hugo Boss before reverting back to old name

The comedian had one last act of defiance before renouncing his new moniker




revert

Tackling the three main challenges in Costa Rica: fiscal reform, reverting the slowdown in productivity and reducing inequality

Costa Rica’s economic, social and environmental achievements are impressive. It has succeeded in combining rising living standards, virtually universal health care, pension and primary education systems with sustainable use of natural resources.




revert

NRL could revert back to using just one referee on the field in an effort to save money 

The Australian Rugby League Commission will consider dropping the number of NRL referees from two to one, as well as a ruck rule change proposed by Project Apollo.




revert

Girl, 7, abducted from Kmart toy aisle and molested in bushland reverted to baby talk

Details of a horrific child abduction were revealed in a Queensland judgment overturning a sentence potentially allowing predator Sterling Mervyn Free to walk free on parole in less than two years.




revert

Social Media Is Reverting Society From Adults Back Into Children

The great promise of social media was that by giving voice to ordinary people all across the world, their collective experiences and expertise would help society reach a higher consciousness. Much as the web was bringing together the world of knowledge, social media would bring together our diverse perspectives and especially the vast wealth of uncodified human knowledge. The reality, as we all know, has been quite the opposite: a toxic cesspool of hate and stupidity, where the loudest and most obnoxious one wins and enlightened insight is overwhelmed by emotional sarcasm and toxicity. Is there any hope for a social future?

complete article




revert

What we become: a novel / Arturo Pérez-Reverte ; translated by Nick Caistor and Lorenza Garcíia

Hayden Library - PQ6666.E765 T3613 2016




revert

BJP reverts to ‘shatpratishat’ mantra ahead of local bodies elections



  • DO NOT USE Maharashtra
  • India

revert

Against Australia, India revert to type